package com.eascs.dubbo.api.enterprise;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.eascs.admin.api.enterprise.EnterpriseApiService;
import com.eascs.admin.o2o.enterpriseZX.entity.O2oEnterpriseZxEntity;
import com.eascs.admin.o2o.enterpriseZX.service.O2oEnterpriseZxService;

@Service
public class EnterpriseApiServiceImpl implements EnterpriseApiService{
	@Autowired
	private O2oEnterpriseZxService o2oEnterpriseZxService;

	@Override
	public O2oEnterpriseZxEntity queryById(String id) {
		return o2oEnterpriseZxService.getEntityById(id);
	}

	@Override
	public int updateEntity(O2oEnterpriseZxEntity o2oEnterpriseZxEntity) {
		 return o2oEnterpriseZxService.update(o2oEnterpriseZxEntity);
	}
	
	

}
